<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2020/6/21
 * Time: 15:10
 */
namespace App\Lib\Sdk\Spider;

use App\Lib\Request\Client;

abstract class BaseSpider {

    protected $config;
    /** @var Client $client */
    protected $client;

    protected $err;

    public function __construct($config, Client $client)
    {
        $this->config = $config;
        $this->client = $client;
    }


    public function getErrorMessage()
    {
        return $this->err;
    }


}